From: Nick Roberts Date: Sun, 20 May 2007 02:47:36 +0000 (+0000) Subject: (enum event_kind): Add GPM_CLICK_EVENT. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18808 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=44d65d8c4f88284d30716a65e9f4bd1e7c620162;p=emacs.git (enum event_kind): Add GPM_CLICK_EVENT. Include gpm.h. (handle_one_term_event, term_gpm) New externs. --- diff --git a/src/termhooks.h b/src/termhooks.h index 8aef23bc2a7..0ca6523bd61 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -340,7 +340,11 @@ enum event_kind symbols, respectively. Member `arg' is a Lisp object converted from the received Apple event. Parameters for non-Apple events are converted to those in Apple events. */ - MAC_APPLE_EVENT + MAC_APPLE_EVENT, +#endif + +#ifdef HAVE_GPM_H + GPM_CLICK_EVENT #endif }; @@ -446,6 +450,14 @@ enum { meta_modifier = CHAR_META /* Under X, the XK_Meta_[LR] keysyms. */ }; +#ifdef HAVE_GPM_H +#include +extern int handle_one_term_event (Gpm_Event *, struct input_event *); + +/* Nonzero means mouse is enabled on Linux console */ +extern int term_gpm; +#endif + #endif /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d